package com.project.pojo.model;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @Description: 后台重置登录密码入参类
 * @Author: zhuchi
 * @CreateDate: 2020/6/18 14:21
 * @Version: 1.0
 */
@Data
public class ResetPasswordModel {

    /**
     * 用户ID
     */
    @NotNull(message = "{validation.userId}")
    private Long userId;

    /**
     * 密码
     */
    @NotBlank(message = "{validation.password}")
    private String password;


}
